package org.tang.springcloudvv.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * <p><em>Created on 2021/12/5 9:02 上午</em></p>
 *
 * @author fuzhongtang
 * @since 1.0.1
 */
@EnableZuulProxy
@EnableDiscoveryClient
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})//不需要datasource
@ComponentScan
@EnableAsync
@EnableScheduling
@EnableFeignClients
public class VvZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(VvZuulApplication.class, args);
    }
}
